package com.example.gclove.pojo;

public class User {

    private int id;
    private int username;
    private String password;
    private int loveId;
    private int code;
    private int thingTotal;

    public User() {
    }

    public User(int username, String password) {
        this.username = username;
        this.password = password;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getUsername() {
        return username;
    }

    public void setUsername(int username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }


    public int getLoveId() {
        return loveId;
    }

    public void setLoveId(int loveId) {
        this.loveId = loveId;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public int getThingTotal() {
        return thingTotal;
    }

    public void setThingTotal(int thingTotal) {
        this.thingTotal = thingTotal;
    }

    @Override
    public String toString() {
        return "Reward{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", loveId=" + loveId +
                ", code=" + code +
                ", thingTotal=" + thingTotal +
                '}';
    }

}
